import java.util.Scanner;

public class cal {
	public  static void main (String[] args){
		double a,b,c,d;
		Scanner input=new Scanner(System.in);
		System.out.print("Please input num1,num2:");
		double num1=input.nextDouble();
		double num2=input.nextDouble();
		while(num2==0)
		{
			System.out.print("please input another num2:");
			double num3=input.nextDouble();
			num2=num2;
		}
		a=num1+num2;
                b=num1-num2;
		c=num1*num2;
		d=num1/num2;
		System.out.println("+:"+a);
		System.out.println("-:"+b);
		System.out.println("*:"+c);
		System.out.println("/:"+d);
	}
}
